//
//  KFLRequest.h
//  KWNLaywerClient
//
//  Created by 孔六五 on 14/12/12.
//  Copyright (c) 2014年 张明磊. All rights reserved.
//

#import <Foundation/Foundation.h>
#import "MKNetworkKit.h"
#import <CommonCrypto/CommonDigest.h>
#import "KWNURL.h"
#import "Model_user.h"
#import "Model_question.h"

typedef void (^requestResultBlock)(NSInteger stateCode, NSMutableArray *result);

@interface KFLRequest : NSObject
@property (nonatomic,strong) MKNetworkEngine *kflEngine;
@property (nonatomic,copy) requestResultBlock kflRequestBlock;

- (id)initRequest;
- (void)startToRequestWithBlock:(requestResultBlock)resultBlock;
- (NSString *)getSignWithArray:(NSMutableArray *)array_sort;
- (NSString *)md5HexDigest:(NSString*)input;

- (NSString *)urlStrUTF8:(NSString *)urlstr;


@end
